# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-atari800
pkgver=0_git20240924
pkgrel=0
_commit="39380a6e028589e850ecdfd2a5a19307b475d667"
pkgdesc="atari800 3.1.0 for libretro/libco"
url="https://github.com/libretro/libretro-atari800"
arch="all"
license="GPL-2.0-only"
makedepends="zlib-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-atari800/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-atari800-$_commit"
options="!check" # No tests

build() {
	rm -rf deps
	make GIT_VERSION="$_commit" SYSTEM_ZLIB=1
}

package() {
	install -Dm644 atari800_libretro.so "$pkgdir"/usr/lib/libretro/atari800_libretro.so
}

sha512sums="
6fb79bce66df4591970851bd3311a9904f1425d47724b64b6cf6beff0f557443063da029e0d1e647d43c61bdc62de0dd3914c709537fa533504e86ceb62f4290  libretro-atari800-39380a6e028589e850ecdfd2a5a19307b475d667.tar.gz
"
